/**
 * author      : dormi330
 * date        : 2018/6/24
 * project     : mybatis
 * description : 订单 data access service, 如果有缓存, 则在这一层实现
 */

package com.deep.trade.domain.order;

public interface OrderRepository {

    void addOrderSummary(OrderSummary orderSummary);

    void addTradeOrder(TradeOrder tradeOrder);

    void addOrderSku(TradeOrderSku tradeOrderSku);

    void addOrderDelivery(DeliveryAddress deliveryAddress);

    int updateTradeOrderStatus(TradeOrder tradeOrder);

    int updateOrderSummaryToPaid(OrderSummary orderSummary);

    void addOrderPayInfo(OrderPayment orderPayment);

    void addParcel(OrderParcel orderParcel);
}
